import http from '@/utils/request'

export const getWares = () => http.get('/wares/query/all')

export const getWaresInfo = (id) =>
  http.get('/wares/query', {
    params: {
      gid: id
    }
  })